//
//  CustomWKWebView.m
//  yuanxinwebview
//
//  Created by forp on 2017/10/25.
//  Copyright © 2017年 晏德智. All rights reserved.
//

#import "CustomWKWebView.h"

@implementation CustomWKWebView

- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
{
    if (self.noTouchCallout) {
        //        if (action == @selector(copy:) ||
        //            action == @selector(paste:)||
        //            action == @selector(cut:))
        //        {
        //            return NO;
        //        }
        return NO;
    }
    
    return [super canPerformAction:action withSender:sender];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
